class CreateReplicas < ActiveRecord::Migration
  def self.up
    create_table :replicas do |t|
      t.integer :audio_asset_id
	  t.integer :replica_system_id
	  t.text    :replica_asset_uri, :null => false
	  t.string  :type, :default => 'essence'
	  t.boolean :main, :default => false
      t.timestamps
    end
  end

  def self.down
    drop_table :replicas
  end
end
